package com.sxfq.loansupermarket.backsystem.modular.basicData.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.OccupationInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.SearchOccupationInfo;

import java.util.List;
import java.util.Map;

/**
 * 预约客户信息
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IOccupationService {

    List<OccupationInfo> selectPageListByQueryGetMap(Page<OccupationInfo> page, SearchOccupationInfo info);

    OccupationInfo selectOneById(String occupationInfoId);

    int insert(OccupationInfo info);

    void delete(String id);

    int update(OccupationInfo info);

    List<Map<String,Object>>  list();

}
